package com.example.zyl.api.entity.dto;

import com.example.zyl.api.entity.OperateLog;
import com.example.zyl.common.query.annotation.SearchField;
import com.example.zyl.common.query.enums.Operation;
import com.example.zyl.common.query.query.BaseQueryDto;
import lombok.Data;
import lombok.experimental.Accessors;


/**
 * 操作日志DTO
 *
 * @author zyl
 */

@Data
@Accessors(chain = true)
public class OperateLogDto implements BaseQueryDto<OperateLog> {

    /**
     * 标题
     */
    @SearchField(value = Operation.LIKE)
    private String title;

    /**
     * 业务类型
     */
    @SearchField(value = Operation.EQ)
    private String businessType;

    /**
     * 请求方法
     */
    @SearchField(value = Operation.EQ)
    private String requestMethod;

    /**
     * 是否删除
     */
    @SearchField(value = Operation.EQ)
    private Integer isDelete = 0;
}
